/*
 * SDLBreakable.h
 *
 *  Created on: Nov 18, 2010
 *      Author: timmeh
 */

#ifndef SDLBREAKABLE_H_
#define SDLBREAKABLE_H_

#include "Breakable.h"
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include "SDLResource.h"
using namespace bo;

namespace bo_sdl {

/**
 * SDL Derived breakable. Implements the actual visual portion of the breakable object
 */
class SDLBreakable: public Breakable {
public:
	SDLBreakable();
	virtual ~SDLBreakable();
	void Visualize();
	void SetSprite(const char*, const double);
private:
	SDL_Surface* fSprite;
};

}

#endif /* SDLBREAKABLE_H_ */
